package Saveable;

import java.util.HashMap;


public class GLImagePack {
	
	private HashMap<String,GLImage> data;

	public GLImagePack() {
		data = new HashMap<String,GLImage>();
	}
	
	public void addImage(String name, GLImage image) {
		data.put(name, image);
	}
	
	public GLImage getImage(String name) {
		return data.get(name);
	}
	
	public Integer getImageID(String name) {
		return data.get(name).getImageIndex();
	}

}
